package entity.airline;


import entity.flight.Flight;

import java.util.List;

public interface Airline {

    /** Gets name for airline
     * @return Name for the airline
     */
    String getName();

    /**Sets the name for the airline
     * @param name Name for airline
     */
    void setName(String name);

    List<Flight> getFlights();

    /** Sets a list of flights
     * @param flights list of flights
     */
    void setFlights(List<Flight> flights);

    /**Adds a list of flights
     * @param flight list of flights
     */
    void addFlight(Flight flight);
    
    /**Delete a list of flights
     * @param flight list of flights
     */
    void removeFlight(Flight flight); 
}
